package com.lbc.dao.custom;

import com.lbc.bean.dto.KidSearchDTO;
import com.lbc.bean.vo.KidVO;
import com.lbc.dao.generator.KidMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author xyl
 * @date 2021-03-25 14:56
 */
public interface CtKidMapper extends KidMapper {
    KidVO selectKidVO(Integer kidId);

    List<KidVO> selectList(@Param("dto") KidSearchDTO dto);

    int updateIsDelete(Integer kidId);

    int updateSchoolIdToNull(@Param("userId") Integer userId);

    List<KidVO> selectBySchoolId(@Param("schoolId")Integer schoolId,@Param("searchKey")String searchKey);
}
